package cn.imnaer.service.rest.resquest.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import cn.imnaer.service.persistence.model.UserPermission;

/**
 * 设置用户权限时用到
 * Created by Administrator on 2015/5/27.
 */
public class SettingUserPermissionParams implements Serializable {
    /**
     * 不能看我的发布内容的用户列表
     */
    private List<String> noAuthorityUserList = new ArrayList<String>();
    /**
     * 我不想看他发布的内容的用户的列表
     */
    private List<String> noWantToSeeUserList = new ArrayList<String>();


    public List<String> getNoAuthorityUserList() {
        return noAuthorityUserList;
    }

    public void setNoAuthorityUserList(List<String> noAuthorityUserList) {
        this.noAuthorityUserList = noAuthorityUserList;
    }

    public List<String> getNoWantToSeeUserList() {
        return noWantToSeeUserList;
    }

    public void setNoWantToSeeUserList(List<String> noWantToSeeUserList) {
        this.noWantToSeeUserList = noWantToSeeUserList;
    }

    public UserPermission caseToUserPermission() {
        UserPermission userPermission = new UserPermission();
        userPermission.setNoAuthorityUserList(this.noAuthorityUserList);
        userPermission.setNoWantToSeeUserList(this.noWantToSeeUserList);
        return userPermission;
    }
}
